package com.resign.carl.singleton.impl;

/**
 * 单例模式 -- 额汉模式
 * Created by carl.zhao on 2016/6/14.
 */
public class EagerSingleton {

    private static final EagerSingleton instance = new EagerSingleton();

    private EagerSingleton(){}

    public static EagerSingleton getInstance(){
        return instance;
    }
}
